<div id="wrapper-content">
    <?php echo form_open('admin/add_admin') ?>
    <div id="register" align="center" style="border:1px solid #a9bbcd;">
        <div align="center" id="titre_viewactu" >AJOUTER NOUVEAU ADMIN</div>
        <table id="login_Infor" cellpadding="10px" cellspacing="0" >
            <tr>
                <td><label for="username">User name <font color="red">*</font></label></td>
                <td><input type="text" name="username" value="<?php echo set_value('username'); ?>" id="username"/></td>
            <?php if (form_error('username')) {?>
                <td style="color: red;" colspan="2"><?php echo form_error('username') ?></td>
            <?php } ?>
            </tr>
            <tr>
                <td><label for="pass">Password <font color="red">*</font></label></td>
                <td><input type="password" name="pass"/></td>
            <?php if (form_error('pass')) {?>
                <td style="color: red;" colspan="2"><?php echo form_error('pass') ?></td>
            <?php } ?>
            </tr>
            <tr>
                <td><label for="confirm_pass">Confirm Password <font color="red">*</font></label></td>
                <td><input type="password" name="confirm_pass"/></td>
            <?php if (form_error('confirm_pass')) {?>
                <td style="color: red;" colspan="2"><?php echo form_error('confirm_pass') ?></td>
            <?php } ?>
            </tr>
            <tr>
                <td><input type="submit" name="register" id="register" value="AJOUTER"/></td>
            </tr>
        </table>
    </div>
<?php echo form_close() ?>
</div>